package com.fishery.customization.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


@Document(value = "c_drag_module")
@ApiModel(value = "可拖拽模块对象")
public class DraggableModule implements Serializable {

	@Id
	@ApiModelProperty(value = "id")
	private String id;

	@ApiModelProperty(value = "模块名")
	private String name;

	@ApiModelProperty(value = "标签名")
	private String cname;

	@ApiModelProperty(value = "是否选择")
	private Boolean checked;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
}
